package com.ext.aic.beans;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo implements Serializable {

    private String userId;

    private String userName;

    private String nick;

    //生成的 JWT token
    private String accessToken;

    //用于续期的 refresh token
    private String refreshToken;

    //JWT token 的有效期（秒）
    private int expiresIn;

    //登录时间
    private long loginTime;
}
